<!DOCTYPE html>
<html>
<head>
    <title>help</title>
    <style type="text/css">
        html, body {
            background-color: black;
            color: #ccc;
            font-family: sans-serif;
        }

        body {
            margin: 0em 1em;
        }

        .content {
            font-family: 'Lucida Console', monospace;
            font-size: 0.8em;
            margin-bottom: 2em;
        }

        .cli {
            white-space: pre;
            color: #ddd;
        }

        .accent {
            color: #0cc;
        }

        .signal {
            color: #c0c;
        }

        .plain {
            color: #ccc;
        }

        .error {
            color: #c00;
        }

        .warning {
            color: #cc0;
        }

        .muted {
            color: #888;
        }

        .success {
            color: #0c0;
        }
    </style>
</head>
<body>
<div class="content">
    <span class="cli"></span><br/>
<span class="cli"><span class="accent">&gt;&gt; </span>tsd 0<span class="accent">.</span>5<span class="accent">.</span>6<span class="plain"> </span><span class="muted">(</span><span class="accent">beta</span><span class="muted">)</span></span><br/>
<span class="cli"></span><br/>
<span class="cli"><span class="accent">&gt;&gt; </span><span class="plain">main</span></span><br/>
<span class="cli">   </span><br/>
<span class="cli">   <span class="plain">query</span> <span class="muted">&lt;</span><span class="plain">...pattern</span><span class="muted">&gt;</span>         search definitions using one or more globbing patterns</span><br/>
<span class="cli"></span><br/>
<span class="cli">      <span class="accent"> $ </span>tsd query d3 --info --history      <span class="accent"> : </span>view d3 info & history</span><br/>
<span class="cli">      <span class="accent"> $ </span>tsd query mocha --action install   <span class="accent"> : </span>install mocha</span><br/>
<span class="cli">      <span class="accent"> $ </span>tsd query jquery.*/*               <span class="accent"> : </span>search jquery plugins</span><br/>
<span class="cli">      <span class="accent"> $ </span>tsd query angular* --resolve       <span class="accent"> : </span>list angularjs bundle</span><br/>
<span class="cli"></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">action</span> <span class="muted">&lt;</span><span class="plain">name</span><span class="muted">&gt;</span>      <span class="accent">-</span>a   <span class="accent"> &gt; </span><span class="plain">run action on selection</span> <span class="accent">(</span><span class="plain">string</span><span class="accent">)</span></span><br/>
<span class="cli">                                 <span class="accent"> [ </span><span class="plain">install, browse, visit</span><span class="accent"> ]</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">bundle</span> <span class="muted">&lt;</span><span class="plain">name</span><span class="muted">&gt;</span>      <span class="accent">-</span>b   <span class="accent"> &gt; </span><span class="plain">save to reference bundle</span> <span class="accent">(</span><span class="plain">string[]</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">commit</span> <span class="muted">&lt;</span><span class="plain">sha1</span><span class="muted">&gt;</span>      <span class="accent">-</span>c   <span class="accent"> &gt; </span><span class="plain">filter on commit hash</span> <span class="accent">(</span><span class="plain">string</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">date</span> <span class="muted">&lt;</span><span class="plain">range</span><span class="muted">&gt;</span>       <span class="accent">-</span>d   <span class="accent"> &gt; </span><span class="plain">filter on commit date</span> <span class="accent">(</span><span class="plain">string</span><span class="accent">)</span></span><br/>
<span class="cli">                                 <span class="accent"> : </span>example: "<2012-12-31"</span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">info</span>               <span class="accent">-</span>i   <span class="accent"> &gt; </span><span class="plain">display definition file info</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">overwrite</span>          <span class="accent">-</span>o   <span class="accent"> &gt; </span><span class="plain">overwrite existing files</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">resolve</span>            <span class="accent">-</span>r   <span class="accent"> &gt; </span><span class="plain">include reference dependencies</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">save</span>               <span class="accent">-</span>s   <span class="accent"> &gt; </span><span class="plain">save changes to config file</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">semver</span> <span class="muted">&lt;</span><span class="plain">range</span><span class="muted">&gt;</span>     <span class="accent">-</span>v   <span class="accent"> &gt; </span><span class="plain">filter on version postfix</span> <span class="accent">(</span><span class="plain">string</span><span class="plain">, default: latest</span><span class="accent">)</span></span><br/>
<span class="cli">                                 <span class="accent"> : </span>semver-range | latest | all</span><br/>
<span class="cli">                                 <span class="accent"> : </span>example: ">0.2.4"</span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">history</span>            <span class="accent">-</span>y   <span class="accent"> &gt; </span><span class="plain">display commit history</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">limit</span> <span class="muted">&lt;</span><span class="plain">num</span><span class="muted">&gt;</span>        <span class="accent">-</span>l   <span class="accent"> &gt; </span><span class="plain">sanity limit for expensive API calls</span> <span class="accent">(</span><span class="plain">int</span><span class="plain">, default: 2</span><span class="accent">)</span></span><br/>
<span class="cli">                                 <span class="accent"> : </span>0 = unlimited</span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">max</span> <span class="muted">&lt;</span><span class="plain">num</span><span class="muted">&gt;</span>               <span class="accent"> &gt; </span><span class="plain">enforce a maximum amount of results</span> <span class="accent">(</span><span class="plain">int</span><span class="accent">)</span></span><br/>
<span class="cli">                                 <span class="accent"> : </span>0 = unlimited</span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">min</span> <span class="muted">&lt;</span><span class="plain">num</span><span class="muted">&gt;</span>               <span class="accent"> &gt; </span><span class="plain">enforce a minimum amount of results</span> <span class="accent">(</span><span class="plain">int</span><span class="accent">)</span></span><br/>
<span class="cli">   </span><br/>
<span class="cli"><span class="accent">&gt;&gt; </span><span class="plain">support</span></span><br/>
<span class="cli">   </span><br/>
<span class="cli">   <span class="plain">init</span>                       create empty config file</span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">overwrite</span>          <span class="accent">-</span>o   <span class="accent"> &gt; </span><span class="plain">overwrite existing files</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">   <span class="plain">reinstall</span>                  re-install definitions from config</span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">overwrite</span>          <span class="accent">-</span>o   <span class="accent"> &gt; </span><span class="plain">overwrite existing files</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">save</span>               <span class="accent">-</span>s   <span class="accent"> &gt; </span><span class="plain">save changes to config file</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">   <span class="plain">update</span>                     update definitions from config</span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">overwrite</span>          <span class="accent">-</span>o   <span class="accent"> &gt; </span><span class="plain">overwrite existing files</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">save</span>               <span class="accent">-</span>s   <span class="accent"> &gt; </span><span class="plain">save changes to config file</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">   <span class="plain">help</span>                       display usage help</span><br/>
<span class="cli">   <span class="plain">version</span>                    display tsd version info</span><br/>
<span class="cli">   <span class="plain">settings</span>                   display config settings</span><br/>
<span class="cli">   <span class="plain">purge</span>                      clear local caches</span><br/>
<span class="cli">   <span class="plain">rate</span>                       check github rate-limit</span><br/>
<span class="cli">   </span><br/>
<span class="cli"><span class="accent">&gt;&gt; </span><span class="plain">global options</span></span><br/>
<span class="cli">   </span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">help</span>               <span class="accent">-</span>h   <span class="accent"> &gt; </span><span class="plain">display usage help</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">version</span>            <span class="accent">-</span>V   <span class="accent"> &gt; </span><span class="plain">display version information</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">progress</span>           <span class="accent">-</span>p   <span class="accent"> &gt; </span><span class="plain">display progress notifications</span> <span class="accent">(</span><span class="plain">flag</span><span class="plain">, default: true</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">cacheDir</span> <span class="muted">&lt;</span><span class="plain">path</span><span class="muted">&gt;</span>         <span class="accent"> &gt; </span><span class="plain">path to cache directory</span> <span class="accent">(</span><span class="plain">string</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">cacheMode</span> <span class="muted">&lt;</span><span class="plain">mode</span><span class="muted">&gt;</span>        <span class="accent"> &gt; </span><span class="plain">change cache behaviour</span> <span class="accent">(</span><span class="plain">string</span><span class="plain">, default: allowUpdate</span><span class="accent">)</span></span><br/>
<span class="cli">                                 <span class="accent"> [ </span><span class="plain">forceLocal, forceRemote, forceUpdate, allowRemote, allowUpdate</span><span class="accent"> ]</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">config</span> <span class="muted">&lt;</span><span class="plain">path</span><span class="muted">&gt;</span>           <span class="accent"> &gt; </span><span class="plain">path to config file</span> <span class="accent">(</span><span class="plain">string</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">detail</span> <span class="muted">&lt;</span><span class="plain">level</span><span class="muted">&gt;</span>          <span class="accent"> &gt; </span><span class="plain">modify reporting detail level</span> <span class="accent">(</span><span class="plain">string</span><span class="accent">)</span></span><br/>
<span class="cli">                                 <span class="accent"> [ </span><span class="plain">low, mid, high</span><span class="accent"> ]</span></span><br/>
<span class="cli">                                 <span class="accent"> : </span>partially implemented</span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">dev</span>                     <span class="accent"> &gt; </span><span class="plain">development mode</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">services</span>                <span class="accent"> &gt; </span><span class="plain">allow usage-tracker, TSD updates etc</span> <span class="accent">(</span><span class="plain">flag</span><span class="plain">, default: true</span><span class="accent">)</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">style</span> <span class="muted">&lt;</span><span class="plain">name</span><span class="muted">&gt;</span>            <span class="accent"> &gt; </span><span class="plain">specify CLI style</span> <span class="accent">(</span><span class="plain">string</span><span class="plain">, default: no</span><span class="accent">)</span></span><br/>
<span class="cli">                                 <span class="accent"> [ </span><span class="plain">no, plain, ansi, html, css, dev</span><span class="accent"> ]</span></span><br/>
<span class="cli">    <span class="accent">--</span><span class="plain">verbose</span>                 <span class="accent"> &gt; </span><span class="plain">verbose output</span> <span class="accent">(</span><span class="plain">flag</span><span class="accent">)</span></span><br/>


</div>
</body>
</head>
